package com.unknow.first.dapp.admin.account.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 站内转账记录
 */
@ApiModel(value = "站内转账记录")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_address_transfer")
public class AddressTransfer {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 转出账户地址
     */
    @TableField(value = "from_address")
    @ApiModelProperty(value = "转出账户地址")
    private String fromAddress;

    /**
     * 转入账户地址
     */
    @TableField(value = "to_address")
    @ApiModelProperty(value = "转入账户地址")
    private String toAddress;

    /**
     * 转入账户id
     */
    @TableField(value = "coin_id")
    @ApiModelProperty(value = "转入账户id")
    private Integer coinId;

    /**
     * 币种名称
     */
    @TableField(value = "coin_name")
    @ApiModelProperty(value = "币种名称")
    private String coinName;

    /**
     * 币种符号
     */
    @TableField(value = "coin_symbol")
    @ApiModelProperty(value = "币种符号")
    private String coinSymbol;

    /**
     * 转账数量
     */
    @TableField(value = "amount")
    @ApiModelProperty(value = "转账数量")
    private BigDecimal amount;

    /**
     * 手续费数量
     */
    @TableField(value = "fee_amount")
    @ApiModelProperty(value = "手续费数量")
    private BigDecimal feeAmount;

    /**
     * 状态（暂时未使用）
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "状态（暂时未使用）")
    private Integer status;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "")
    private String createdBy;

    @TableField(value = "CREATED_DATE")
    @ApiModelProperty(value = "")
    private Date createdDate;

    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "")
    private String updatedBy;

    @TableField(value = "UPDATED_DATE")
    @ApiModelProperty(value = "")
    private Date updatedDate;
}